src: removed sonargraph based project setup methods

This commit is contained in:
mlangkabel
2019-11-09 17:56:51 +01:00
parent 7257de9f11
commit ceb30020b5
585 changed files with 2 additions and 27109 deletions
@@ -1,19 +0,0 @@
#!/bin/bash
# get absolute path to parent directory of script
MY_PATH=`dirname "$0"`
if [[ "${MY_PATH}" != *\\* ]]
then
cd $MY_PATH
MY_PATH=`pwd`
fi
MY_PATH="${MY_PATH//\\//}"
SRC_PATH=$MY_PATH/data
WORKING_COPY_PATH=$MY_PATH/working_copy
mkdir -p $WORKING_COPY_PATH
cp -a $SRC_PATH/. $WORKING_COPY_PATH
echo "Setup Complete"
@@ -1,17 +0,0 @@
#!/bin/bash
# get absolute path to parent directory of script
MY_PATH=`dirname "$0"`
if [[ "${MY_PATH}" != *\\* ]]
then
cd $MY_PATH
MY_PATH=`pwd`
fi
MY_PATH="${MY_PATH//\\//}"
WORKING_COPY_PATH=$MY_PATH/working_copy
echo "" >> $WORKING_COPY_PATH/src/Bar.h
echo "Update Complete"
@@ -1,16 +0,0 @@
#!/bin/bash
# get absolute path to parent directory of script
MY_PATH=`dirname "$0"`
if [[ "${MY_PATH}" != *\\* ]]
then
cd $MY_PATH
MY_PATH=`pwd`
fi
MY_PATH="${MY_PATH//\\//}"
WORKING_COPY_PATH=$MY_PATH/working_copy
rm -rf $WORKING_COPY_PATH
echo "Teardown Complete"
@@ -1,32 +0,0 @@
* 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 "C++" -> C/C++ from Sonargraph"
* Click "Next"
* Pick "Test.sonargraph/system.sonargraph" at "Sonargraph Project"
* Click "show source files" button
* Validate "Source Files" list contains "src/main.cpp"
* Click "OK"
* Validate "Header Files & Directories to Index" contains "src" entry
* 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 "4"
* Validate "source files to index" shows "1"
* Click "Start"
* Validate Project indexed without error
* Click "OK"
* Close Sourcetrail
* Run "3_teardown.sh"
@@ -1,8 +0,0 @@
<?xml version="1.0" ?>
<ns2:softwareSystem xmlns:ns2="http://www.hello2morrow.com/sonargraph/core" id="0c1ca5dfc52cd6e30960e06c4d5cb96a" version="9.8.1.519">
<description></description>
<module xmlns:ns4="http://www.hello2morrow.com/sonargraph/languageprovider/cplusplus" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns4:xsdCppManualModule" name="Test" id="24d0b2632bc424febb83b42d77e8eae5" language="CPlusPlus">
<description></description>
<rootPath name="."></rootPath>
</module>
</ns2:softwareSystem>
@@ -1,10 +0,0 @@
#ifndef FOO_H
#define FOO_H
#include "FooBar.h"
class Bar : public FooBar
{
};
#endif // FOO_H
@@ -1,10 +0,0 @@
#ifndef BAR_H
#define BAR_H
#include "FooBar.h"
class Foo : public FooBar
{
};
#endif // FOO_BAR_H
@@ -1,8 +0,0 @@
#ifndef FOO_BAR_H
#define FOO_BAR_H
class FooBar
{
};
#endif // FOO_BAR_H
@@ -1,9 +0,0 @@
#include "Foo.h"
#include "Bar.h"
void test()
{
Foo foo;
Bar bar;
}
@@ -1,19 +0,0 @@
#!/bin/bash
# get absolute path to parent directory of script
MY_PATH=`dirname "$0"`
if [[ "${MY_PATH}" != *\\* ]]
then
cd $MY_PATH
MY_PATH=`pwd`
fi
MY_PATH="${MY_PATH//\\//}"
SRC_PATH=$MY_PATH/data
WORKING_COPY_PATH=$MY_PATH/working_copy
mkdir -p $WORKING_COPY_PATH
cp -a $SRC_PATH/. $WORKING_COPY_PATH
echo "Setup Complete"
@@ -1,17 +0,0 @@
#!/bin/bash
# get absolute path to parent directory of script
MY_PATH=`dirname "$0"`
if [[ "${MY_PATH}" != *\\* ]]
then
cd $MY_PATH
MY_PATH=`pwd`
fi
MY_PATH="${MY_PATH//\\//}"
WORKING_COPY_PATH=$MY_PATH/working_copy
echo "" >> $WORKING_COPY_PATH/src/foo/Bar.java
echo "Update Complete"
@@ -1,16 +0,0 @@
#!/bin/bash
# get absolute path to parent directory of script
MY_PATH=`dirname "$0"`
if [[ "${MY_PATH}" != *\\* ]]
then
cd $MY_PATH
MY_PATH=`pwd`
fi
MY_PATH="${MY_PATH//\\//}"
WORKING_COPY_PATH=$MY_PATH/working_copy
rm -rf $WORKING_COPY_PATH
echo "Teardown Complete"
@@ -1,33 +0,0 @@
* 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" -> Java from Sonargraph"
* Click "Next"
* Pick "Test.sonargraph/system.sonargraph" at "Sonargraph Project"
* Click "show source files" button
* Validate list contains 4 source files
* Click "OK"
* 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"
@@ -1,10 +0,0 @@
<?xml version="1.0" ?>
<ns2:softwareSystem xmlns:ns2="http://www.hello2morrow.com/sonargraph/core" id="141dcc4bc45fc37bdd45091f01737428" version="9.8.1.519">
<description></description>
<module xmlns:ns4="http://www.hello2morrow.com/sonargraph/languageprovider/java" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns4:xsdJavaModule" name="Test" id="64dda8e3e242dfafad66119061d4dd47" language="Java">
<description></description>
<rootPath name="./src"></rootPath>
<rootPath name="./target"></rootPath>
<rootPath xsi:type="ns4:xsdSourceRootPath" name="./src"></rootPath>
</module>
</ns2:softwareSystem>
@@ -1,5 +0,0 @@
package foo;
class Bar implements FooBar
{
}
@@ -1,5 +0,0 @@
package foo;
class Foo implements FooBar
{
}
@@ -1,5 +0,0 @@
package foo;
public interface FooBar
{
}
@@ -1,8 +0,0 @@
package foo;
public class Main
{
public Foo m_foo;
public Bar m_bar;
}