Class TestCollection
- java.lang.Object
-
- net.sourceforge.pmd.util.fxdesigner.model.testing.TestCollection
-
- All Implemented Interfaces:
SettingsOwner
public class TestCollection extends java.lang.Object implements SettingsOwner
-
-
Constructor Summary
Constructors Constructor Description TestCollection(@Nullable ObservableRuleBuilder owner, java.util.List<LiveTestCase> tests)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAll(TestCollection testCases)
void
addTestCase(LiveTestCase testCase)
Mark the given [testCase] as the only unfrozen one and appends it to thestash
.@Nullable LiveTestCase
export(int i)
Opens a test case for write access.@Nullable LiveTestCase
getOpenTest()
@Nullable java.io.File
getOrigin()
ObservableRuleBuilder
getOwner()
org.reactfx.collection.LiveList<LiveTestCase>
getStash()
void
initOwner()
org.reactfx.EventStream<?>
modificationTicks()
void
rebase(TestCollection testCases)
void
setOrigin(java.io.File origin)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.pmd.util.fxdesigner.util.beans.SettingsOwner
getChildrenSettingsNodes
-
-
-
-
Constructor Detail
-
TestCollection
public TestCollection(@Nullable ObservableRuleBuilder owner, java.util.List<LiveTestCase> tests)
-
-
Method Detail
-
rebase
public void rebase(TestCollection testCases)
-
addAll
public void addAll(TestCollection testCases)
-
initOwner
public void initOwner()
-
getStash
public org.reactfx.collection.LiveList<LiveTestCase> getStash()
-
addTestCase
public void addTestCase(LiveTestCase testCase)
Mark the given [testCase] as the only unfrozen one and appends it to thestash
.
-
getOrigin
public @Nullable java.io.File getOrigin()
-
setOrigin
public void setOrigin(java.io.File origin)
-
getOpenTest
public @Nullable LiveTestCase getOpenTest()
-
export
public @Nullable LiveTestCase export(int i)
Opens a test case for write access.
-
modificationTicks
public org.reactfx.EventStream<?> modificationTicks()
-
getOwner
public ObservableRuleBuilder getOwner()
-
-