Permalink
Browse files

commit touched file and tests

  • Loading branch information...
JPMoresmau committed Jun 22, 2012
1 parent f3f58e3 commit 91d8486ca059b10b602816e754f29ea2803f7158
Showing with 101 additions and 11 deletions.
  1. +25 −0 tests/Autocomplete.csv
  2. +35 −0 tests/Basic.csv
  3. +16 −0 tests/GoToDeclaration.csv
  4. +25 −0 tests/Install.csv
  5. +0 −11 tests/cleaninstall.txt
View
@@ -0,0 +1,25 @@
+1;Autocomplete same module;In Main.hs, create new function
+;;In main function, check autocomplete gives new function before even saving
+;;Save
+;;Check autocomplete still gives new function
+2;Autocomplete another module name;Create a new module M1 with a function f1
+;;Save
+;;Back to Main.hs
+;;Import <ctrl-space> should offer the new module
+;;Add import
+3;Autocomplete another module name from unreferenced package;Import <ctrl-space> should offer the System.Random
+;;Add import
+;;Dependency to random added in cabal file
+4;Autocomplete another module function;In Main.hs, f1 should be part of autocomplete
+5;Autocomplete another module function not imported;Remove import of M1
+;;Save
+;;In Main.hs, f1 should be part of autocomplete (not imported context)
+;;Adding f1 should add import to M1
+6;Autcomplete another function package referenced module not referenced;Search autocomplete for catMaybes in not referenced
+;;Adding catMaybes should import Data.Maybe
+7;Autocomplete for unreferenced package;Search autocomplete for getStdRandom in all packages
+;;Adding getStdRandom should add import to System.Random
+;;Dependency to random added in cabal file
+8;Autocomplete constructor;Remove dependencies on Data Maybe
+;;Search autocomplete for Just
+;;Check Data.Maybe(..) added in imports
View
@@ -0,0 +1,35 @@
+1;Simple exe project;Create executable haskell project
+;;Open Main.hs
+;;Check syntax highlighting works
+;;Create new function
+;;Check outline works
+;;Fill in code
+;;Save
+;;Expand Cabal -> executable
+;;Right click Run
+;;Check console shows output
+;;Right click on project Run
+;;Check console shows output
+2;GHCi support;Right click Main.hs -> GHCi
+;;Check loads ok
+;;Check function runs
+;;Check :main runs
+;;Modify file and save
+;;Check reloaded
+;;Close GHCi
+3;Library project;Create library project
+;;Check no module created
+;;Create module
+;;Check syntax highlighting works
+;;Check outline works
+;;Check build works
+;;Check GHCi works
+4;Existing project;Put existing cabal project with Setup.hs in workspace folder
+;;Create project
+;;Check cabal file, Main.hs are not overwritten
+;;Check Setup.hs not overwritten
+5;Existing project with Setup.lhs;Put existing cabal project with Setup.lhs in workspace folder
+;;Create project
+;;Check cabal file, Main.hs are not overwritten
+;;Check Setup.lhs not overwritten
+;;Check Setup.hs not created
View
@@ -0,0 +1,16 @@
+1;Go to declaration same project;Create a new module M1 with a function f1
+;;Save, Close
+;;Back to Main.hs
+;;Import M1
+;;Use f1 in code
+;;Go to declaration on f1
+;;Check opens M1 on proper line
+2;Go to declaration local doc;Import System.Random
+;;Use getStdRandom
+;;Go to declaration on getStdRandom
+;;Open local HTML page
+3;Go to declaration hackage;Import haskell-src-exts
+;;Use parse
+;;Go to declaration on parse
+;;Open Hackage HTML file
+4;Go to operator declaration;TBD
View
@@ -0,0 +1,25 @@
+1;Clean install;Install current Haskell Platform
+;;Run cabal update
+;;Install current version of Eclipse for Java developers
+;;Start Eclipse, new workspace
+;;Install eclipsefp from updates site
+;;Restart Eclipse
+;;GHC should be detected from path
+;;Cabal should be detected from path
+;;Should prompt for buildwrapper and scion-browser installs
+;;Install both
+;;Create executable project
+;;Open Main.hs
+;;Check syntax highlighting works
+;;Check outline works
+;;Check browser works
+2;Upgrade install;Install previous version
+;;Update eclipsefp from updates site
+;;Restart Eclipse
+;;Should prompt for buildwrapper and scion-browser installs
+;;Install both
+;;Create executable project
+;;Open Main.hs
+;;Check syntax highlighting works
+;;Check outline works
+;;Check browser works
View
@@ -1,11 +0,0 @@
-- install current Haskell Platform
-- run cabal update
-- install current version of Eclipse for Java developers
-- new workspace
-- install eclipsefp from updates site
-- restart
-- GHC from path and Cabal from path should be detected
-- Scion server builds
-- Create project, edit Main.hs
- - syntax highlighting works
- - outline works

0 comments on commit 91d8486

Please sign in to comment.