Here is an example from GtkAda documentation :
+---------------------------------------------+
| Your Application |
+---------------------------------------------+
| GtkAda |
| +-----------------------------+
| | GTK |
| +-------+-----------------------------+
| | GDK |
+-------+--------------+--+-------------------+
| GLIB | | X-Window / Win32 |
+----------------------+ +-------------------+
I would apreciate something more simple (without bridging), but here is
the idea.
Note that I'll release the tool as free software.
Thank you for your help.
--
Lionel Draghi
I think you're going to have to describe a bit more what your tool does,
so we can get a better idea of what kind of suggestions would be
appropriate for helping you test it.
-- Marc A. Criley
-- McKae Techologies
-- www.mckae.com
-- DTraq - XPath In Ada - XML EZ Out
It checks that sources are conpliant with a description of this kind :
- GUI contains pkg_1, pkg_2
- DB contains pkg_3, pkg_4
- GUI is a layer over DB
It will then (for example) checks that pkg_3 is not using pkg_2.
My tests are not really much more complex than this example, and this is
why I am looking for real sources organized in true layers.
--
Lionel Draghi
> I wrote a tool to check architecture, and I wan't to test it on real
> projects.
> This is why I am looking for Ada (and Java/C/C++) sources that have a
> layered architecture, and describe it.
>
> Here is an example from GtkAda documentation :
>
> +---------------------------------------------+
>| Your Application |
> +---------------------------------------------+
>| GtkAda |
>| +-----------------------------+
>| | GTK |
>| +-------+-----------------------------+
>| | GDK |
> +-------+--------------+--+-------------------+
>| GLIB | | X-Window / Win32 |
> +----------------------+ +-------------------+
>
> I would apreciate something more simple (without bridging), but here is
> the idea.
The GtkAda page lists some applications that use it; you might look to
see if any of them give out their source.
--
Bobby Bryant
Austin, Texas
To get started, synthetic test code is the way to go. After that,
"beta" release your tool so others can test it for you on real code and
provide feedback. Since you are releasing the tool as free software
then let others be your test team.
Mark
I wrote a small tool to create Ada packages, that I use in my "make check".
It eases package creation with precise dependencies.
For example:
@create_pkg P1 spec -with P2 -with P3
will create:
with P2;
with P3;
-- created by Create_Pkg v1.0
package P1;
null;
end P1;
All my tests are based on those minimal packages, and my biggest test
only involve half of them.
This is why I don't feel comfortable to release something without at
least once real size testing.
> After that,
> "beta" release your tool so others can test it for you on real code and
> provide feedback. Since you are releasing the tool as free software
> then let others be your test team.
OK, but I want to reach a minimal useability level.
I'm not sure it's already the case, I have to think about it.
--
Lionel Draghi