test: added test descriptions and resources for manually testing different project setup methods
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
|
||||
MY_PATH=`dirname "$0"`
|
||||
|
||||
SRC_PATH=$MY_PATH/data
|
||||
WORKING_COPY_PATH=$MY_PATH/working_copy
|
||||
|
||||
mkdir -p $WORKING_COPY_PATH
|
||||
|
||||
cp -ar $SRC_PATH/. $WORKING_COPY_PATH
|
||||
|
||||
echo "Setup Complete"
|
||||
@@ -0,0 +1,9 @@
|
||||
|
||||
MY_PATH=`dirname "$0"`
|
||||
|
||||
WORKING_COPY_PATH=$MY_PATH/working_copy
|
||||
|
||||
echo "" >> $WORKING_COPY_PATH/src/foo/Bar.java
|
||||
|
||||
echo "Update Complete"
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
MY_PATH=`dirname "$0"`
|
||||
|
||||
WORKING_COPY_PATH=$MY_PATH/working_copy
|
||||
|
||||
rm -rf $WORKING_COPY_PATH
|
||||
|
||||
echo "Teardown Complete"
|
||||
@@ -0,0 +1,32 @@
|
||||
* Run "1_setup.sh"
|
||||
* Start up Sourcetrail
|
||||
* Click "New Project"
|
||||
* Enter a project name
|
||||
* Set "./working_copy" as project location
|
||||
* Click "Add Source Group"
|
||||
* Select "Java" -> Empty Java Source Group"
|
||||
* Click "Next"
|
||||
* Click "Next"
|
||||
* Add "./src" to "Files & Directories to Index"
|
||||
* Add "**/Foo.java" to "Excluded Files & Directories"
|
||||
* Click "Next"
|
||||
* Click "Next"
|
||||
* Click "Create"
|
||||
* Validate "All files" is the only option selectable
|
||||
* Click "Start"
|
||||
* Validate Project indexed without error
|
||||
* Click "OK"
|
||||
* Press "Refresh" button
|
||||
* Validate "Updated files" is selected
|
||||
* Validate "source files to index" shows "0"
|
||||
* Click "Cancel"
|
||||
* Run "2_update.sh"
|
||||
* Press "Refresh" button
|
||||
* Validate "Files to clear" shows "1"
|
||||
* Validate "source files to index" shows "1"
|
||||
* Click "Start"
|
||||
* Validate Project indexed without error
|
||||
* Click "OK"
|
||||
* Close Sourcetrail
|
||||
* Run "3_teardown.sh"
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
package foo;
|
||||
|
||||
class Bar implements FooBar
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package foo;
|
||||
|
||||
class Foo implements FooBar
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package foo;
|
||||
|
||||
public interface FooBar
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package foo;
|
||||
|
||||
public class Main
|
||||
{
|
||||
public Foo m_foo;
|
||||
public Bar m_bar;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user