Commit [3b0df7] default  Maximize  Restore  History

Rather than a single build_target being shared between multiple test_runs, rework the data mdoel so that each test_run has a single build_target (it was how the importer worked anyway). This required reordering of the migrations to ensure correct order of foreign key creation.

Rework the routes so that build_configuration and build_target are both below test_run in the URI namespace. This makes sense now that they are specific to a particular test_run. It also means that our cache clearing protocol will clear these directories.

Update the views to use link_for() to link to these and other objects so correct urls are generated.

Peter Donald Peter Donald 2007-05-26

1 2 > >> (Page 1 of 2)
changed app/models/build_configuration.rb
changed app/models/build_target.rb
changed app/models/test_run.rb
changed app/views/build_run/show.haml
changed app/views/host/show.haml
changed app/views/test_configuration/show.haml
changed app/views/test_run/show.haml
changed app/views/test_run/show_summary.haml
changed config/environment.rb
changed config/routes.rb
added db/migrate/001_create_hosts.rb
added db/migrate/001_create_system_settings.rb
added db/migrate/002_create_sessions.rb
added db/migrate/003_create_users.rb
added db/migrate/004_create_hosts.rb
added db/migrate/004_create_test_runs.rb
added db/migrate/006_create_build_configurations.rb
added db/migrate/007_create_build_targets.rb
added db/migrate/008_create_build_runs.rb
changed test/fixtures/build_target_params.yml
changed test/fixtures/build_targets.yml
changed test/fixtures/test_runs.yml
changed test/unit/build_configuration_test.rb
changed test/unit/build_target_test.rb
changed test/unit/test_run_test.rb
app/models/build_configuration.rb Diff Switch to side-by-side view
Loading...
app/models/build_target.rb Diff Switch to side-by-side view
Loading...
app/models/test_run.rb Diff Switch to side-by-side view
Loading...
app/views/build_run/show.haml Diff Switch to side-by-side view
Loading...
app/views/host/show.haml Diff Switch to side-by-side view
Loading...
app/views/test_configuration/show.haml Diff Switch to side-by-side view
Loading...
app/views/test_run/show.haml Diff Switch to side-by-side view
Loading...
app/views/test_run/show_summary.haml Diff Switch to side-by-side view
Loading...
config/environment.rb Diff Switch to side-by-side view
Loading...
config/routes.rb Diff Switch to side-by-side view
Loading...
db/migrate/001_create_hosts.rb Diff Switch to side-by-side view
Loading...
db/migrate/001_create_system_settings.rb Diff Switch to side-by-side view
Loading...
db/migrate/002_create_sessions.rb Diff Switch to side-by-side view
Loading...
db/migrate/003_create_users.rb Diff Switch to side-by-side view
Loading...
db/migrate/004_create_hosts.rb Diff Switch to side-by-side view
Loading...
db/migrate/004_create_test_runs.rb Diff Switch to side-by-side view
Loading...
db/migrate/006_create_build_configurations.rb Diff Switch to side-by-side view
Loading...
db/migrate/007_create_build_targets.rb Diff Switch to side-by-side view
Loading...
db/migrate/008_create_build_runs.rb Diff Switch to side-by-side view
Loading...
test/fixtures/build_target_params.yml Diff Switch to side-by-side view
Loading...
test/fixtures/build_targets.yml Diff Switch to side-by-side view
Loading...
test/fixtures/test_runs.yml Diff Switch to side-by-side view
Loading...
test/unit/build_configuration_test.rb Diff Switch to side-by-side view
Loading...
test/unit/build_target_test.rb Diff Switch to side-by-side view
Loading...
test/unit/test_run_test.rb Diff Switch to side-by-side view
Loading...
1 2 > >> (Page 1 of 2)

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks