[system] / trunk / webwork2 / lib / WeBWorK / Test.pm Repository:
ViewVC logotype

Diff of /trunk/webwork2/lib/WeBWorK/Test.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 287 Revision 288
1package WeBWorK::Test; 1package WeBWorK::Test;
2
3use Apache::Request;
4use Apache::Constants qw(:common);
2 5
3sub new($$$$$) { 6sub new($$$$$) {
4 my $class = shift; 7 my $class = shift;
5 my ($r, $courseEnvironment, $user, $key) = @_; 8 my ($r, $courseEnvironment, $user, $key) = @_;
6 9
12 }; 15 };
13 bless $self, $class; 16 bless $self, $class;
14 return $self; 17 return $self;
15} 18}
16 19
17sub go { 20sub go($) {
18 my $self = shift; 21 my $self = shift;
19 $self->{r}->content_type("text/html"); 22 $self->{r}->content_type("text/html");
20 $self->{r}->send_http_header; 23 $self->{r}->send_http_header;
21 24
22 # get some stuff together 25 # get some stuff together
33key = $key 36key = $key
34</pre> 37</pre>
35</body> 38</body>
36</html> 39</html>
37EOT 40EOT
41
42 return OK;
38} 43}
39 44
401; 451;

Legend:
Removed from v.287  
changed lines
  Added in v.288

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9