C# Class Jint.Tests.Fixtures

Show file Open project: robashton/ravendb

Public Methods

Method Description
FindAll ( List source, Predicate predicate ) : List
RunMozillaTests ( string folder ) : void
ShouldBeCalledWithBoolean ( TypeCode tc ) : bool

Protected Methods

Method Description
Test ( Options options, string script ) : object
Test ( Options options, string script, Action action ) : object
Test ( string script ) : object
Test ( string script, Action action ) : object

Private Methods

Method Description
AccessorsScriptShouldPassTests ( ) : void
ArgumentsScriptShouldPassTests ( ) : void
ArraysScriptShouldPassTests ( ) : void
BlocksScriptShouldPassTests ( ) : void
BooleanScriptShouldPassTests ( ) : void
CallingANonMethodShouldThrowAnException ( ) : void
ChainConstructorsScriptShouldPassTests ( ) : void
ClosuresScriptShouldPassTests ( ) : void
ClrExceptionsShouldNotBeLost ( ) : void
ClrNullShouldBeConverted ( ) : void
ClrScriptShouldPassTests ( ) : void
CoffeeScriptShouldPassTests ( ) : void
CommentsScriptShouldPassTests ( ) : void
DateScriptShouldPassTests ( ) : void
DelegateShouldBeAbleToUseCallFunction ( ) : void
ExecuteEmbededScript ( ) : void
FlowScriptShouldPassTests ( ) : void
FunctionAsConstrutorScriptShouldPassTests ( ) : void
FunctionScriptShouldPassTests ( ) : void
FunctionsShouldBeDeclaredInTheirScope ( ) : void
GiveMeJavascript ( JsNumber number, JsInstance instance ) : JsString
GlobalScriptShouldPassTests ( ) : void
HoistingScriptShouldPassTests ( ) : void
InOperatorScriptShouldPassTests ( ) : void
IndexerShouldBeEvaluatedBeforeUsed ( ) : void
InstanceOfScriptShouldPassTests ( ) : void
Json2ScriptShouldPassTests ( ) : void
JsonScriptShouldPassTests ( ) : void
LoopsScriptShouldPassTests ( ) : void
MathScriptShouldPassTests ( ) : void
MaxRecursionsShouldBeDetected ( ) : void
MozillaNumber ( ) : void
NumberMethodsShouldWorkOnMarshalledNumbers ( ) : void
NumberScriptShouldPassTests ( ) : void
NumbersShouldEqualTheirStrings ( ) : void
ObjectScriptShouldPassTests ( ) : void
ObjectShouldBePassedToDelegates ( ) : void
OperatorsScriptShouldPassTests ( ) : void
PrecedenceScriptShouldPassTests ( ) : void
PrivateMembersScriptShouldPassTests ( ) : void
PrototypeInheritanceScriptShouldPassTests ( ) : void
RandomValuesShouldNotRepeat ( ) : void
RegExpScriptShouldPassTests ( ) : void
RunningInvalidScriptSourceShouldThrow ( ) : void
ScopesShouldNotExpand ( ) : void
SecurityExceptionsShouldNotBeCaught ( ) : void
ShouldAllowSecuritySandBox ( ) : void
ShouldAssignBooleanValue ( ) : void
ShouldAssignProperties ( ) : void
ShouldBreakInLoops ( ) : void
ShouldBreakOnCondition ( ) : void
ShouldCascadeEquals ( ) : void
ShouldCatchNotDefinedVariable ( ) : void
ShouldCompareNullValues ( ) : void
ShouldContinueAfterFunctionCall ( ) : void
ShouldCreateExternalTypes ( ) : void
ShouldCreateObjectLiterals ( ) : void
ShouldDebugScripts ( ) : void
ShouldDetectErrors ( ) : void
ShouldEvaluateConsecutiveIfStatements ( ) : void
ShouldEvaluateFunctionDeclarationsFirst ( ) : void
ShouldEvaluateIndexersAsClrFields ( ) : void
ShouldEvaluateIndexersAsClrProperties ( ) : void
ShouldExecuteEcmascript5TestsScripts ( ) : void
ShouldExecuteSingleScript ( ) : void
ShouldFindOverloadWithNullParam ( ) : void
ShouldHandleAnonymousFunctions ( ) : void
ShouldHandleAssignment ( ) : void
ShouldHandleBadEnums ( ) : void
ShouldHandleClrArrays ( ) : void
ShouldHandleClrDictionaries ( ) : void
ShouldHandleCommaSeparatedDeclarations ( ) : void
ShouldHandleCustomMethods ( ) : void
ShouldHandleDictionaryObjects ( ) : void
ShouldHandleDirectNewInvocation ( ) : void
ShouldHandleEmptyStatement ( ) : void
ShouldHandleEnums ( ) : void
ShouldHandleExternalObject ( ) : void
ShouldHandleFor ( ) : void
ShouldHandleFunctionConstructor ( ) : void
ShouldHandleFunctionScopes ( ) : void
ShouldHandleFunctions ( ) : void
ShouldHandleFunctionsAsObjects ( ) : void
ShouldHandleGlobalVariables ( ) : void
ShouldHandleIndexedProperties ( ) : void
ShouldHandleInlineCLRMethodCalls ( ) : void
ShouldHandleLoopScopes ( ) : void
ShouldHandleMultipleRunsInSameScope ( ) : void
ShouldHandleNativeTypes ( ) : void
ShouldHandleNetObjects ( ) : void
ShouldHandleObjectClass ( ) : void
ShouldHandlePropertiesOnFunctions ( ) : void
ShouldHandleReturnAsSeparator ( ) : void
ShouldHandleStaticMethods ( ) : void
ShouldHandleStrictMode ( ) : void
ShouldHandleStrings ( ) : void
ShouldHandleStructs ( ) : void
ShouldHandleSwitch ( ) : void
ShouldHandleTheMostSimple ( ) : void
ShouldHandleUndeclaredVariable ( ) : void
ShouldHandleVariableDeclaration ( ) : void
ShouldModifyIteratedCollection ( ) : void
ShouldNotAccessClr ( ) : void
ShouldNotConflictWithClrMethods ( ) : void
ShouldNotDetectErrors ( ) : void
ShouldNotReferenceThisAsGlobalScopeInDetachedFunctionInStrictMode ( ) : void
ShouldNotReproduceBug85418 ( ) : void
ShouldNotReturnDateInUniversalTime ( ) : void
ShouldNotRunInRun ( ) : void
ShouldNotThrowOverflowExpcetion ( ) : void
ShouldNotWrapJsInstancesIfExpected ( ) : void
ShouldOverrideDefaultFunction ( ) : void
ShouldParseCoffeeScript ( ) : void
ShouldParseMultilineStrings ( ) : void
ShouldParseScripts ( ) : void
ShouldRetainGlobalsThroughRuns ( ) : void
ShouldReturnDelegateForFunctions ( ) : void
ShouldReturnUndefined ( ) : void
ShouldRunInLowTrustMode ( ) : void
ShouldRunInRun ( ) : void
ShouldSetClrProperties ( ) : void
ShouldShortCircuitBooleanOperators ( ) : void
ShouldStoreFunctionsInArray ( ) : void
ShouldSupportCasting ( ) : void
ShouldSupportUtf8VariableNames ( ) : void
ShouldThrowErrorWhenAssigningUndeclaredVariableInStrictMode ( ) : void
SimpleClassScriptShouldPassTests ( ) : void
StaticMemberAfterUndefinedReference ( ) : void
StaticMethodsScriptShouldPassTests ( ) : void
StringScriptShouldPassTests ( ) : void
SwitchShouldFallBackWhenNoBreak ( ) : void
TernaryScriptShouldPassTests ( ) : void
ThisInDifferentScopesScriptShouldPassTests ( ) : void
TryCatchScriptShouldPassTests ( ) : void
TypeofScriptShouldPassTests ( ) : void
UndefinedEqualsToNullShouldBeTrue ( ) : void
UnderscoreScriptShouldPassTests ( ) : void
UseOfUndefinedVariableShouldThrowAnException ( ) : void
WithScriptShouldPassTests ( ) : void

Method Details

FindAll() public method

public FindAll ( List source, Predicate predicate ) : List
source List
predicate Predicate
return List

RunMozillaTests() public method

public RunMozillaTests ( string folder ) : void
folder string
return void

ShouldBeCalledWithBoolean() public method

public ShouldBeCalledWithBoolean ( TypeCode tc ) : bool
tc TypeCode
return bool

Test() protected method

protected Test ( Options options, string script ) : object
options Options
script string
return object

Test() protected method

protected Test ( Options options, string script, Action action ) : object
options Options
script string
action Action
return object

Test() protected method

protected Test ( string script ) : object
script string
return object

Test() protected method

protected Test ( string script, Action action ) : object
script string
action Action
return object