0% found this document useful (0 votes)
38 views1 page

Plan Edu - Ncsu.Csc216.Test - Plan - Tests: 0..1 - Actualresults

The document describes the structure of classes related to testing including a Plan class, Test class, and Result class. A Plan contains a name and counter as well as methods to add, remove, and reorder Tests. A Test contains an ID, description, expected results, and actual results. A Result contains a message and verification status. The classes are linked together with the Plan containing a list of Tests and each Test containing a list of Results.

Uploaded by

Mohamed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views1 page

Plan Edu - Ncsu.Csc216.Test - Plan - Tests: 0..1 - Actualresults

The document describes the structure of classes related to testing including a Plan class, Test class, and Result class. A Plan contains a name and counter as well as methods to add, remove, and reorder Tests. A Test contains an ID, description, expected results, and actual results. A Result contains a message and verification status. The classes are linked together with the Plan containing a list of Tests and each Test containing a list of Results.

Uploaded by

Mohamed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

ArrayList

edu.ncsu.csc216.test_plan.lists
<<Interface>>
-array: Object
List
-size: int
edu.ncsu.csc216.test_plan.lists -initialSize: int

+ArrayList()
+add(Object): boolean +ArrayList(int)
+add(int, Object): boolean +add(Object): boolean
+clear(): void +add(int, Object): boolean
+contains(Object): boolean +clear(): void
+get(int): Object +contains(Object): boolean
+indexOf(Object): int +get(int): Object
+isEmpty(): boolean +indexOf(Object): int
+remove(int): Object +isEmpty(): boolean
+remove(Object): boolean +remove(int): Object
+set(int, Object): Object +remove(Object): boolean
+size(): int +set(int, Object): Object
-updateSize(int): void +size(): int
-updateSize(int): void

Plan
edu.ncsu.csc216.test_plan.tests
0..1
LinkedNodes
edu.ncsu.csc216.test_plan.lists -name: String
-counter: int
-size: int

+Plan(String)
+LinkedNodes() +Plan(String, ArrayList<Test>)
+add(Object): boolean +setName(String): void Result
+add(int, Object): boolean +getName(): String edu.ncsu.csc216.test_plan.tests
+clear(): void +getTests(): ArrayList<Test>
+contains(Object): boolean +addTest(Test): boolean
+get(int): Object +addTest(String, String, String, String,
+indexOf(Object): int LinkedNodes): boolean +message: String
+isEmpty(): boolean +getTest(String, boolean): Test +verify: boolean
+remove(int): Object +removeTest(Test): boolean
+remove(Object): boolean +moveUp(Test): void +Result(String, boolean)
+set(int, Object): Object 0..1 -actualResults +moveDown(Test): void
+size(): int +moveFront(Test): void
-updateSize(int): void +moveBack(Test): void
+updateCounter(): void

0..n -tests <<Enum>>


Test Type
Node edu.ncsu.csc216.test_plan.tests edu.ncsu.csc216.test_plan.tests
edu.ncsu.csc216.test_plan.lists
-testId: String +INVALID: Type
0..1 -head -description: String +REQUIRMENTS: Type
0..1 +next
+object: Object -expectedResults: String 0..1 -type +EQUIVALANCE: Type
+INVALID_NAME: String +BOUNDRY: Type

+Node(Object, Node) +REQUIREMENTS_NAME: String


+EQUIVALANCE_NAME: String
+Type()
+BOUNDRY_NAME: String

+Test(String, String, String, Type)


+Test(String, String, Type)
+Test(String, String, String, String,
LinkedNodes)
+setTestId(String): void
+getTestId(): String
+setDescription(String): void
+getDescription(): String
+setExpectedResults(String): void
+getExpectedResults(): String
+setType(Type): void
+setType(String): void
+getType(): Type
+getStringType(): String
+addToActualResults(Result): boolean
+getActualResults(): LinkedNodes

You might also like