39: public static LifeTheUniverseAndEverything = 42
114: Eval("import Boo.Lang.Interpreter.Tests from Boo.Lang.Interpreter.Tests")
Eval("value = InteractiveInterpreterTestFixture.LifeTheUniverseAndEverything")
assert 42 == _interpreter.GetValue("value")
1: # -- MeaningOfLifeTheUniverseAndEverything.pm --
package MeaningOfLifeTheUniverseAndEverything;
use strict;
28: MeaningOfLifeTheUniverseAndEverything
38: public static LifeTheUniverseAndEverything = 42
114: Eval("import Booish.Tests from Booish.Tests")
Eval("value = InteractiveInterpreterTestFixture.LifeTheUniverseAndEverything")
assert 42 == _interpreter.GetValue("value")
96: {
TestCase( "Function", FunctionPtr( ContextObjectFunc, lifeTheUniverseAndEverything ) ),
TestCase( "Class", Incarnate( &ContextObjectClass::Run, lifeTheUniverseAndEverything ) ),
TestCase()
30: /** \brief A constant to use in the tests. */
const int lifeTheUniverseAndEverything = 42;
34: *
* Uses IsEqual to compare lifeTheUniverseAndEverything with a.
*
29: public String getTheAnswerToLifeTheUniverseAndEverything();
108: -TYPE => 'Random',
-SECRET_ELEMENT => '42lifetheuniverseandeverything',
-LENGTH => $original->{-SESSION_ID_LENGTH}
12: public static final int StructuredClassifierCE = 1;
public static final int LifeTheUniverseAndEverythingCE = 2;
public static final int ChromosomeCE = 3;
39: new QName[]
{new QName(namespace, "getAnswerToLifeTheUniverseAndEverything")};
58: public int getAnswerToLifeTheUniverseAndEverything() throws RemoteException, SecurityException
{
10: static int answerToLifeTheUniverseAndEverything = 42;
int nonStaticInt = 6*7;
27: //nonStaticInt++;
answerToLifeTheUniverseAndEverything++; // this is ok, because both the method and variable are static
String lastName = line.substring(0,commaPos);
Google Home - Google Code - Discuss - Terms of Service - Help - Submit Your Code
©2009 Google - Privacy