/*\r
- * Copyright (C) 2007-2012 Mathieu Baudier\r
+ * Copyright (C) 2007-2012 Argeo GmbH\r
*\r
* Licensed under the Apache License, Version 2.0 (the "License");\r
* you may not use this file except in compliance with the License.\r
package org.argeo.slc.core.test;\r
\r
import org.argeo.slc.SlcException;\r
-import org.argeo.slc.core.structure.tree.TreeSRelatedHelper;\r
import org.argeo.slc.core.test.context.ContextUtils;\r
import org.argeo.slc.test.IncompatibleTestDataException;\r
import org.argeo.slc.test.TestData;\r
import org.argeo.slc.test.context.ContextAware;\r
\r
/** Understands basic test data and context aware test data. */\r
-public class BasicTestDefinition extends TreeSRelatedHelper implements\r
- TestDefinition {\r
+public class BasicTestDefinition implements TestDefinition {\r
\r
public void execute(TestRun testRun) {\r
if (testRun.<TestData> getTestData() instanceof BasicTestData) {\r
} else if (testRun.<TestData> getTestData() instanceof ContextAware) {\r
TestData testData = testRun.getTestData();\r
ContextUtils.compareReachedExpected((ContextAware) testData,\r
- testRun.getTestResult(), this);\r
+ testRun.getTestResult());\r
} else {\r
throw new IncompatibleTestDataException(testRun);\r
}\r